package cn.com.allunion.sms.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.GregorianCalendar;

public class Authority implements Serializable {

    private static final long serialVersionUID = 3180314687286342298L;

    private String authorityId;

    private String authorityDescription;

    private Date authorityExpireDate;

    private Integer authorityStatus;

    private String authorityString;

    public Authority() {
        GregorianCalendar calendar = new GregorianCalendar(2030, 12, 30);
        this.authorityExpireDate = (calendar).getTime();
    }

    public String getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(String authorityId) {
        this.authorityId = authorityId == null ? null : authorityId.trim();
    }

    public String getAuthorityDescription() {
        return authorityDescription;
    }

    public void setAuthorityDescription(String authorityDescription) {
        this.authorityDescription = authorityDescription == null ? null : authorityDescription.trim();
    }

    public Date getAuthorityExpireDate() {
        return authorityExpireDate;
    }

    public void setAuthorityExpireDate(Date authorityExpireDate) {
        this.authorityExpireDate = authorityExpireDate;
    }

    public Integer getAuthorityStatus() {
        return authorityStatus;
    }

    public void setAuthorityStatus(Integer authorityStatus) {
        this.authorityStatus = authorityStatus;
    }

    public String getAuthorityString() {
        return authorityString;
    }

    public void setAuthorityString(String authorityString) {
        this.authorityString = authorityString == null ? null : authorityString.trim();
    }
}